import request from "../utils/request"; 


// 预约座位接口
export const reserveSeatAPI = (data) => {
  return request({
    url: '/user/order',
    method: 'put',
    data
  })
}

//  取消预约接口
export const cancelReserveSeatAPI = (data) => {
  return request({
    url: '/user/cancleOrder',
    method: 'put',
    data
  })
}

//  查询当前用户的预约信息
export const getUserReserveAPI = () => {
  return request({
    url: '/user/orderMes',
    method: 'get'
  })
}